using System;
using System.Diagnostics.CodeAnalysis;
using Coderoom.ScrumPlanner.Domain;

namespace Coderoom.ScrumPlanner.Data.Contracts
{
	public interface IProjectRepository : IRepository
	{
		[SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")]
		ProjectCollection GetProjects();

		Project GetProject(Guid projectId);
		Project GetProject(string slug);
		void CreateProject(Project project);
		bool DeleteProject(Guid projectId);
		bool DeleteProject(string slug);
	}
}